import { http } from "../http";

//登陆
export function userLogin(data: object) {
  return http({ url: "/api/login", data });
}
//获取用户信息
export function getUserInfo(data: object) {
  return http({ url: "/staff/find", data });
}
// 用户仓库列表
export function listGodown(data: object) {
  return http({ url: "/api/listGodown", data });
}
//修改人员密码
export function updatePassword(data: object) {
  return http({ url: "/staff/changepd", data });
}
//修改用户信息
export function updateUserInfo(data: object) {
  return http({ url: "/staff/update", data });
}
